<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/8/23 0023
  Time: 16:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="utf-8" %>
<%@ include file="/include/taglibs.jsp" %>
<script src="${path}/static/taoshunda/score/exchangeScore.js"></script>
<link href="${path}/static/css/public/public.css" rel="stylesheet" type="text/css">

<div class="input-group col-xs-2" style="float: left;margin-bottom: 5px">
    <input type="text" class="form-control entry" id="name" placeholder="输入积分商品名称">
</div>
<div class="input-group col-xs-2" style="float: left;margin-bottom: 5px;margin-left: 3px">
    <input type="text" class="form-control entry" id="account" placeholder="输入收货人电话">
</div>
<div class="input-group col-xs-2" style="float: left;margin-bottom: 5px;margin-left: 3px">
    <input type="text" class="form-control rangedate entry" id="create" placeholder="输入兑换时间">
</div>
<div style="float: left;margin-bottom: 5px">
    <button type="button" class="btn query_button" onclick="queryUserName()"
            style="width: 150%;margin-left: 5px">
        <%--<span class="glyphicon glyphicon-search" aria-hidden="true"></span>--%>
        查询
    </button>
</div>


<table id="table"
       style="background-color:white"
       data-toggle="table"
       data-url="${path}/web/score/queryHistoryGoodsScore"
       data-toolbar="#toolbar"
       data-side-pagination="server"
       data-pagination="true"
       data-page-list="[5, 10, 20, 50, 100, 200]"
>
    <thead>
    <tr>
        <th data-field="id" data-visible="false">编号</th>
        <th data-formatter="pic">兑换商品图片</th>
        <th data-formatter="goodsName">商品名称</th>
        <th data-field="userName">用户名称</th>
        <th data-field="account">用户电话</th>
        <th data-field="addressUserName">收货人名称</th>
        <th data-field="addressUserPhone">收货人电话</th>
        <th data-field="count">数量</th>
        <th data-field="address">兑换地址</th>
        <th data-field="created">兑换时间</th>
        <th data-formatter="sendGoods" data-events="operateEvent">操作</th>
    </tr>
    </thead>
</table>

<div id="detailImage-div" style="z-index:999"  class="slidingmenu box-model box box-info">
    <div class="box box-info">
        <div class="box-body">
            <div class="form-group">
                <div id="image" style="margin-top: 5%">

                </div>
            </div>
            <div class="box-footer">
                <button class="btn btn-danger close-model">关闭</button>
            </div>
        </div><!-- /.box-body -->
    </div>
</div>